package com.springboot.cloud.demos.entity.form;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.springboot.cloud.common.web.entity.form.BaseForm;
import com.springboot.cloud.demos.entity.po.User;
import com.springboot.cloud.demos.entity.po.UserPosition;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.Date;

/**
 * @author qjmove
 */
@ApiModel
@Data
public class UserPositionForm extends BaseForm<UserPosition> {

    private String userId;
    private String province;
    private String city;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date loginTime;
    private Double longitude = 0d;
    private Double latitude = 0d;

}
